package com.wind.trademark.user.service;

import java.util.List;
import java.util.Map;

import com.wind.trademark.base.vo.NodeVo;
import com.wind.trademark.common.vo.PageBean;
import com.wind.trademark.common.vo.PageParam;
import com.wind.trademark.user.model.AccUser;

/**
 * @author <a href="mailto:xmufeng@163.com">Wind Wu</a>
 * 
 */
public interface UserService {

	PageBean queryUser(PageParam pageParam, Map<String, Object> params);

	List<AccUser> getAllLawyer();

	AccUser saveOrUpdateUser(AccUser user);

	AccUser getUser(Long id);

	List<NodeVo> loadRolesByUserId(Long userId);

	void saveOrUpdateUserRole(Long userId, List<Long> asList);
 
	boolean checkAccountUsed(Map<String, Object> params);

}